home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / disk / misc / cfd.readme < prev    next >
Text File  |  2002-09-15  |  10KB  |  328 lines

  1. Short:    Use CompactFlash cards in your PCMCIA slot
  2. Author:   t.jager@gmx.de (Torsten Jager)
  3. Uploader: t.jager@gmx.de (Torsten Jager)
  4. Version:  1.17
  5. Type:     disk/misc
  6. Kurz:     CompactFlash-Speicherkarten im PCMCIA-Steckplatz bearbeiten
  7. Date:     29-Aug-2002
  8.  
  9. (deutsche Beschreibung siehe unten - german description see below)
  10. $VER: compactflash.device 1.17 (29.08.2002)
  11.  
  12. --- english section ----------------------------------------
  13.  
  14. Purpose
  15. =======
  16.  
  17. Read and write your digital photos, mp3 files etc. directly from
  18. CompactFlash cards as used by many mobile devices.
  19.  
  20. The OS supplied "carddisk.device" appeared to be unable to understand
  21. CF cards. I already had bought that adapter card, so I decided to write
  22. a suitable alternative myself.
  23.  
  24. New:
  25. Added experimental ATAPI support (Q Drive?).
  26. Increased compatibility.
  27.  
  28. A word on hardware:
  29.  
  30. you will need a special adapter card labelled "CompactFlash to
  31. PCMCIA", to "PC Card" or to "ATA". It looks like a normal 5mm
  32. PCMCIA card with a smaller slot for CF cards at the front side.
  33.  
  34. There are two types of such adapters sold in good computer
  35. stores, for "CF Type 1" and "CF type 2" cards.
  36. The only two differences: "CF Type 2" adapters can also cope
  37. with thicker CF cards, like those expensive "MicroDrive"
  38. harddisks; and b) they cost more.
  39.  
  40. Mine is a "CF Type 1" which I got for EUR 10 (but I also saw
  41. the same model for the double price...).
  42.  
  43. Some testing results:
  44. I have two CF cards, 16 and 64 Mbyte of capacity.
  45. 16Mbyte card (Hitachi): 1.0 Mb/s read, 600 kb/s write.
  46. 64Mbyte card (PQI): 1.6 Mb/s read, 800 kb/s write.
  47.  
  48. Good news everyone:
  49.  
  50. I got positive testing reports from CompactFlash, IBM MicroDrive,
  51. Sony MemoryStick and - taadaa! - SmartMedia adapter :^))
  52. It may be required to re-insert the adapter after plugging the
  53. memory card into it. Only for CompactFlash and MicroDrive,
  54. the plugging order is irrelevant.
  55.  
  56. Another word on hardware:
  57.  
  58. Commodore back then introduced the Amiga PCMCIA port
  59. before (!) the official PCMCIA standard was released. As a
  60. consequence, it is not fully compatible.
  61. Your results may vary on your actual hardware combination,
  62. including memory card, adapter, Amiga model, its chipset
  63. revision, and accelerator board model.
  64.  
  65. WARNING:
  66. "CompactFlash" is (TM) by CompactFlash Association ;-)
  67.  
  68.  
  69. System requirements
  70. ===================
  71.  
  72. * AMIGA 1200 or 600, OS 2.0+
  73. * "CompactFlash to PCMCIA/ATA" adapter card,
  74.     see adapter.jpg for an example
  75. * fat95 file system (disk/misc/fat95.lha)
  76.  
  77.  
  78. Installation
  79. ============
  80.  
  81. Copy cfd/devs/compactflash.device to DEVS:
  82. Have fat95 installed on your system.
  83. Mount the drive by double-clicking cfd/devs/CF0.
  84.  
  85. If you run OS 3.5+:
  86. Copy cfd/def_CF0.info to both sys:prefs/env-archive/sys and env:sys.
  87.  
  88.  
  89. Problems
  90. ========
  91.  
  92. If some trouble occurs, like cards not recognized by cfd, please:
  93.  
  94. * report exact hardware type.
  95. * mount CF0: if not already done.
  96. * insert that very card.
  97. * wait at least 1 second (yes, honestly).
  98. * take cfd/c/cfddebug and type into a shell
  99.  
  100.     cfddebug ram:cfdlog
  101.  
  102. * send me the binary file just created (about 4 kbytes).
  103.   I promise there are no passwords and such in it.
  104.  
  105. In case there is another PCMCIA driver (eg. a network card driver)
  106. blocking the card socket, try setting the CF0 mountlist entry "Flags" to
  107.  
  108.     Flags = 1    /* enable "cfd first" hack */
  109.  
  110. .
  111.  
  112.  
  113. History
  114. =======
  115.  
  116. v1.01    02/2002    First experiments.
  117.  
  118. v1.02    03/2002    Minimal exec command set to work with filesystems.
  119.  
  120. v1.03    03/2002    Added auto-repeat for faulty CF cards.
  121.  
  122. v1.04    03/2002    Removed numerous bugs.
  123.                     Added quiet shutdown if non-CF cards are inserted.
  124.  
  125. v1.05    03/2002    Added TD64 and SCSI emulation support.
  126.  
  127. v1.06    03/2002    Card interface moved to PCMCIA I/O address space.
  128.  
  129. v1.07    04/2002    Added debug tool and disk icon.
  130.  
  131. v1.08    04/2002    Changed interrupt handling.
  132.                     Made read access a bit faster.
  133.  
  134. v1.09    05/2002    Added "cfd first" hack.
  135.                     Added SCSI 6 byte read/write commands.
  136.  
  137. v1.10    05/2002    Added PCMCIA status change handling.
  138.  
  139. v1.11    06/2002    Fixed SCSI "Inquiry" command emulation.
  140.                     Set card programming voltage to 5VDC.
  141.  
  142. v1.12    06/2002    Added slowed down transfer mode.
  143.                     Added PCMCIA speed check tool.
  144.  
  145. v1.13    06/2002    Removed slowdown again, didn't fix the problem.
  146.                     Added "double read" and "double write" workarounds.
  147.                     Added read/write check tool.
  148.  
  149. v1.14    07/2002    Removed "double write" kludge again (was unnecessary).
  150.                     Added ready check befor command issueing.
  151.  
  152. v1.15    08/2002    Added ATAPI support.
  153.  
  154. v1.16    08/2002    Added transfer mode testing module.
  155.                     Set word access as default.
  156.  
  157. v1.17    08/2002    Added transfer mode autosense.
  158.                     Disabled card´s address decoder.
  159.  
  160. Have Fun!
  161.  
  162.  
  163. --- und noch einmal auf deutsch ----------------------------
  164.  
  165. Verwendungszweck
  166. ================
  167.  
  168. Lesen und schreiben Sie ihre digitalen Fotos, mp3 Dateien usw.
  169. direkt von CompactFlash-Speicherkarten.
  170.  
  171. Das in OS3.9 enthaltene "carddisk.device" konnte leider mit CF-Karten
  172. nichts anfangen. Ich wollte den schon gekauften PCMCIA-Adapter
  173. aber nicht abschreiben, also griff ich zur Selbsthilfe.
  174.  
  175. Neu:
  176. Experimentelle ATAPI Unterstützung hinzugefügt.
  177. Erweiterte Kompatibilität.
  178.  
  179. Zum Thema Hardware:
  180.  
  181. Sie brauchen eine spezielle Adapterkarte, genannt "CompactFlash
  182. auf PCMCIA", auf "PC Card" oder auf "ATA". Die sieht aus wie
  183. eine gewöhnliche 5mm PCMCIA Karte mit einem kleineren
  184. Einsteckschacht für CF Karten auf der Vorderseite.
  185.  
  186. Im gut sortierten Computerhandel gibt es zwei verschiedene
  187. Ausführungen, für "CF Typ 1" und für "CF Typ 2". Letztere bieten
  188. nur zwei Unterschiede: a) sie eignen sich auch für dickere CF
  189. Karten, wie diese s**teuren "MicroDrive" Festplatten, und sie
  190. sind b) etwas teurer.
  191.  
  192. Apropos Geld: mein "CF Typ 1" Adapter kam ca. EUR 10
  193. (habe ich aber auch schon für den doppelten Preis gesehen...).
  194.  
  195. Ein paar Testergebnisse:
  196. Ich habe zwei CF Karten, 16 und 64 Mbyte.
  197. 16 Mbyte (Hitachi): 1.0 Mb/s lesen, 600 kb/s schreiben.
  198. 64 Mbyte (PQI): 1.6 Mb/s lesen, 800 kb/s schreiben.
  199.  
  200. Gute Neuigkeiten:
  201. ich habe erfolgreiche Testberichte mit CompactFlash, IBM
  202. MicroDrive, Sony MemoryStick und - tata! - SmartMedia
  203. Adaptern :^))
  204. Es kann erforderlich sein den Adapter nach dem Einsetzen
  205. der Speicherkarte in den selbigen nochmals in den Amiga
  206. einzustecken. Nur bei CompactFlash und MicroDrive ist
  207. die Steckreihenfolge egal.
  208.  
  209. Nochmal Hardware:
  210.  
  211. Commodore hat seinerzeit den Amiga mit PCMCIA ausgestattet
  212. bevor (!) der offizielle PCMCIA Standard verabschiedet war.
  213. Dadurch ist die Amiga Version nicht 100% kompatibel.
  214. Ihre Ergebnisse können damit abweichen je nach den von
  215. Ihnen benutzten Komponenten - Speicherkarte, Adapter,
  216. Amiga Modell, dessen Chipsatz Version, und Turbokarte.
  217.  
  218. WARNUNG:
  219. "CompactFlash" ist ein eingetragenes Warenzeichen der
  220. CompactFlash Association ;-)
  221.  
  222.  
  223. Systemvoraussetzungen
  224. =====================
  225.  
  226. * AMIGA 1200 oder 600, OS 2.0+
  227. * "CompactFlash auf PCMCIA/ATA" Adapter-Karte,
  228.     wie z.B. meine (adapter.jpg)
  229. * fat95 Dateisystem (disk/misc/fat95.lha)
  230.  
  231.  
  232. Installation
  233. ============
  234.  
  235. Kopieren Sie cfd/devs/compactflash.device nach DEVS:
  236. Installieren Sie ggf. fat95 nach.
  237. Melden Sie das Laufwerk an duch Doppelklicken auf cfd/devs/CF0.
  238.  
  239. Wenn Sie OS 3.5+ benutzen, kopieren Sie noch
  240. cfd/def_CF0.info nach sys:prefs/env-archive/sys und env:sys.
  241.  
  242.  
  243. Probleme
  244. ========
  245.  
  246. Bei Problemen, wie einer nicht erkannten Karte, bitte:
  247.  
  248. * Geben Sie die genauen Hardwaretypen an.
  249. * Melden Sie CF0: an wenn nicht schon geschehen.
  250. * Legen Sie die betreffende Karte ein.
  251. * Warten Sie mindestens 1 Sekunde (ja wirklich ;)
  252. * Nehmen Sie cfd/c/cfddebug und tippen Sie in eine Shell
  253.  
  254.     cfddebug ram:cfdlog
  255.  
  256. * Schicken Sie mir die soeben erzeugte Binärdatei (ca. 4 kbyte).
  257.   Es sind keine Paßwörter oder so etwas drin, versprochen.
  258.  
  259. Falls ein anderer PCMCIA Treiber (z.B. für eine Netzwerkkarte)
  260. den Kartenschacht blockiert, ändern Sie doch mal in der CF0
  261. MountList den Eintrag "Flags" in
  262.  
  263.     Flags = 1    /* "cfd zuerst" Hack aktivieren */
  264.  
  265. .
  266.  
  267.  
  268. Geschichte
  269. ==========
  270.  
  271. v1.01    02/2002    Erste Versuche.
  272.  
  273. v1.02    03/2002    Brauchbare Version für Zusammenarbeit mit Dateisystem.
  274.  
  275. v1.03    03/2002    Automatische Wiederholungen hinzugefügt für
  276.                     fehlerhafte CF Karten.
  277.  
  278. v1.04    03/2002    Zahlreiche Fehler behoben.
  279.                     Treiber deaktiviert sich selbst bei Nicht-CF Karten.
  280.  
  281. v1.05    03/2002    TD64 und SCSI Emulation hinzugefügt.
  282.  
  283. v1.06    03/2002    Kartenzugriffe über PCMCIA I/O Adressen umgeleitet.
  284.  
  285. v1.07    04/2002    Ferndiagnosemodul und Disk Icon hinzugefügt.
  286.  
  287. v1.08    04/2002    Veränderte Interruptverarbeitung.
  288.                     Lesezugriffe etwas schneller.
  289.  
  290. v1.09    05/2002    "cfd zuerst" Hack hinzugefügt.
  291.                     SCSI 6 byte Lese/Schreibkommandos hinzugefügt.
  292.  
  293. v1.10    05/2002    PCMCIA Statusänderungsbearbeitung hinzugefügt.
  294.  
  295. v1.11    06/2002    Fehler im SCSI "Inquiry" Kommando behoben.
  296.                     Kartenprogrammierspannung auf 5V eingestellt.
  297.  
  298. v1.12    06/2002    Gebremsten Übertragungsmodus hinzugefügt.
  299.                     PCMCIA Geschwindigkeitstester hinzugefügt.
  300.  
  301. v1.13    06/2002    Bremse wieder ausgebaut, hatte nicht geholfen.
  302.                     "Doppellesen" und "Doppelschreiben"
  303.                     Fehlerumgehung hinzugefügt.
  304.                     Lese/Schreibtester hinzugefügt.
  305.  
  306. v1.14    07/2002    "Doppelschreiben" wieder entfernt weil unnötig.
  307.                     Bereitschaftsprüfung vor Kommandosenden hinzugefügt.
  308.  
  309. v1.15    08/2002    ATAPI Unterstützung hinzugefügt.
  310.  
  311. v1.16    08/2002    Zugriffsmodus-Tester eingebaut.
  312.                     Standardmäßig wortweise Zugriffe.
  313.  
  314. v1.17    08/2002    Automatische Auswahl des Zugriffsmodus.
  315.                     Internen Adreßdecoder der Karte ausgeschaltet.
  316.  
  317. Viel Spaß!
  318.  
  319. PS.
  320. Ich bin auf der Suche nach einer Voll- oder Teilzeitbeschäftigung
  321. im Raum Hanau, Frankfurt(M). Meine Fähigkeiten reichen von
  322. C/C++/M68k Assemblerprogrammierung über Netzwerkadministration
  323. und PC-Technik bis hin zu Kommunikations-, Industrie- und
  324. Unterhaltungselektronik.
  325. Wenn Sie also jemanden kennen der jemanden kennt, ich freue
  326. mich über jede Bewerbungsadresse :-)
  327. Ist natürlich nicht Bedingung um cfd zu nutzen ;-)
  328.